/*====== modal ========*/
html {
  font-size: 62.5%; }

.modal-open {
  overflow-y: hidden; }

.modal {
  position: fixed;
  top: 30%;
  left: 10%;
  right: 10%;
  text-align: left;
  border-radius: 12px;
  color: #666;
  background-color: #fff;
  font-family: 'Helvetica Neue',Helvetica,sans-serif;
  opacity: 0;
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  -webkit-transition: all 0.15s linear;
  transition: all 0.15s linear;
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1); }
  .modal.in {
    opacity: 1;
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1); }
  .modal .modal-header {
    position: relative;
    padding: 16px 16px 10px;
    text-align: center;
    color: #333;
    font-size: 1.8rem;
    font-weight: 700; }
  .modal .modal-close {
    display: none;
    position: absolute;
    top: 8px;
    right: 10px;
    padding: 5px;
    color: #999;
    font-size: 22px;
    font-weight: 700;
    line-height: 1; }
    .modal .modal-close:hover {
      color: #666; }
  .modal .modal-body {
    position: relative;
    text-align: center;
    max-height: 150px;
    padding: 0 20px 15px;
    color: #999;
    line-height: 22px;
    font-size: 1.6rem;
    overflow-y: auto;
    overflow-x: hidden;
    word-break: break-all; }
  .modal .modal-footer {
    position: relative;
    font-size: 0; }
    .modal .modal-footer:after {
      display: block;
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      width: 100%;
      height: 1px;
      content: '';
      z-index: 15;
      background-color: rgba(0, 0, 0, 0.1);
      -moz-transform: scaleY(0.5);
      -ms-transform: scaleY(0.5);
      -webkit-transform: scaleY(0.5);
      transform: scaleY(0.5); }
    .modal .modal-footer.modal-footer-left {
      text-align: left; }
    .modal .modal-footer.modal-footer-right {
      text-align: right; }
    .modal .modal-footer.modal-footer-center {
      text-align: center; }
    .modal .modal-footer .btn-group {
      display: -webkit-box; }
      .modal .modal-footer .btn-group .modal-btn {
        position: relative;
        display: block;
        text-align: center;
        -webkit-box-flex: 1;
        -moz-box-flex: 1;
        -o-box-flex: 1;
        box-flex: 1;
        padding: 13px 20px;
        font-size: 1.6rem;
        line-height: 20px;
        color: #007aff;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent; }
        .modal .modal-footer .btn-group .modal-btn:first-child:after {
          display: block;
          position: absolute;
          top: 0;
          right: 0;
          bottom: auto;
          left: auto;
          width: 1px;
          height: 100%;
          content: '';
          z-index: 15;
          background-color: rgba(0, 0, 0, 0.1);
          -moz-transform: scaleX(0.5);
          -ms-transform: scaleX(0.5);
          -webkit-transform: scaleX(0.5);
          transform: scaleX(0.5); }

.modal-backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  opacity: 0;
  -moz-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  -webkit-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear; }
  .modal-backdrop.in {
    opacity: 1; }
